USE [texchange_db]
GO

/****** Object:  StoredProcedure [dbo].[SP_UpdateUserLoginTime]    Script Date: 05/29/2011 19:51:46 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE proc [dbo].[SP_UpdateUserLoginTime] 
  @userid    int = 0
as

	UPDATE Users SET lastLogin = getdate()
	WHERE id=@userid
return




GO


